<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/layouts/taglib.jsp" %>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>操作记录</title>
		<%@ include file="/WEB-INF/layouts/index-header.jsp" %>

	</head>
	<body>
		<div class="tpanel">
			<div class="panel-content">
				<div class="container-fluid">
					<div id="tool">
						<form id="searchForm" class="form-inline" onsubmit="return search('#searchForm','#table')"
							  style="margin-top:20px;margin-bottom:20px;">
							<div class="form-group">
								<label class="">用户名：</label>
								<input type="text" name="search_LIKES_name" class="form-control" />
							</div>
							<div class="form-group">
								<button type="submit" class="btn btn-primary radius">
								  <span class="glyphicon glyphicon-search"></span> 查询
								</button>
							</div>
						</form>
					</div> 
					<table id="table"></table>
				</div>
			</div>
		</div>

		<script type="text/javascript">
            changeTitle('操作记录');
        $(function() {

            $('#table').bootstrapTable({
                url: '${ctx}/admin/app-operate-log/page-list',
                idField : 'id',
                striped : true,
                pagination : true,
                pageNumber : 1,
                pageSize : 25,
                sidePagination : 'server',
                uniqueId : 'id',
                queryParams : queryParams,
                responseHandler : responseHandler,
                columns: [{
                    title: '#',
                    width : 50,
                    align : 'center',
                    formatter: snFormatter
                },{
                    field: 'userId',
                    width : 150,
                    title: '操作人',
                    align : 'center'
                },{
                    field: 'createdTime',
                    width : 150,
                    title: '时间',
                    align : 'center'
                },{
                    field: 'ip',
                    width : 150,
                    title: 'IP',
                    align : 'center'
                },{
                    field: 'type',
                    width : 100,
                    title: '类型',
                    align : 'center'
                },{
                    field: 'content',
                    title: '内容',
                    align : 'center'
                }]
            });

        });
	</script>

	</body>
</html>
